<template>
  <div>
    <span :style="{textDecoration: item.completed ? 'line-through':''}">
      {{item.content}}
    </span>
  </div>
</template>

<script>
  export default {
    name: "TodoContent",
    props: ['item']
  }
</script> 